package net.sunofbeach.blog.services;


import net.sunofbeach.blog.response.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


public interface IPdfService {



    //尝试使用cos来上传图片
    ResponseResult cosUploadPdf(MultipartFile file);
    void viewPdf(HttpServletResponse response, String pdfId) throws IOException;

    ResponseResult listPdfs(int page, int size);

    ResponseResult deleteById(String pdfId);

    void createQrCode(String code, HttpServletResponse response, HttpServletRequest request);
}
